#include<vector>
#include<iostream>
using namespace std;
#include"AVLTree.h"

int main()
{
	AVLTree<int> avl;
	vector<int> v = { 16, 3, 7, 11, 9, 26, 18, 14, 15 };
	vector<int> v2 = { 4, 2, 6, 1, 3, 5, 15, 7, 16, 14 };


	for(auto& t : v2)
		avl.Insert(t);

	avl.InOrder();

	cout << boolalpha << avl.IsAVLTree() << endl;

	return 0;
}